package com.codejiwei.flink.practice;

import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

/**
 * @author jiwei
 * @description
 * @date 2023/5/19 16:06
 */
public class Flink_Source_File {
    public static void main(String[] args) throws Exception {
        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();

        env.readTextFile("src/main/resources/data/world.txt")
                .print();

        env.execute();
    }
}
